    <?php if(isset($_SESSION['lrole']) == false || $_SESSION['lrole'] == 410) { ?>
    <form method="post" action="<?=url('UserLog/login');?>">
        <div>
            <label for="cib_usr">用户名：</label>
            <input type="text" name="cib_usr" id="cib_usr" value="" />
            <label for="cib_pwd">密码：</label>
            <input type="password" name="cib_pwd" id="cib_pwd" value="" />
            <input type="submit" value="提交" />
            <?php if(isset($_SESSION['notice'])) { ?>
            <label><i><?=$_SESSION['notice'];?></i></label>
            <?php } ?>
        </div>
    </form>
    <?php } ?>

    <?php if($_SESSION['lrole'] == 420 || $_SESSION['lrole'] == 430) { ?>
    <p id="wadget-minilogin">
        <?php if($_SESSION['lrole'] == 420) { ?>
        欢迎 <?=$_SESSION['lname'];?> 老师!
        <?php } ?>
		<?php if($_SESSION['lrole_id'] != 0.5) { ?>
		<a href="<?=url('bohome/index');?>">登录后台</a>
		&nbsp;&nbsp;&nbsp;&nbsp;
		<i><?=$_SESSION['notice'];?></i>
		<?php } ?>
    <a href="<?=url('UserLog/logout');?>">注销</a></p>
    <?php } ?>